package com.firstgroup.dms.mapper;

import com.firstgroup.dms.pojo.DrugCategory;
import com.firstgroup.dms.pojo.DrugInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DrugInformationMapper {
    List<DrugInformation> getAllDrugs();

    List<DrugCategory> getAllCategories();

    int insertDrug(DrugInformation drug);

    int deleteDrug(Integer id);

    DrugInformation getDrugById(Integer id);

    DrugInformation selectById(Integer id);
}